# coding=utf-8
def user_deal(user):
    item = {}
    item['uid'] = user['id']
    # 用户昵称
    item['screen_name'] = user['screen_name']
    # 用户主页
    item['profile_url'] = user['profile_url']
    # 用户描述
    item['description'] = user['description']
    # 用户关注数
    item['follow_count'] = user['follow_count']
    # 用户粉丝数
    item['followers_count'] = user['followers_count']
    # 发帖数
    item['statuses_count'] = user['statuses_count']
    # 用户性别
    item['gender'] = user['gender']
    # 用户认证信息
    item['verified'] = user['verified']
    item['verified_type'] = user['verified_type']
    item['verified_reason'] = user.get('verified_reason', '')
    # 微博等级
    item['urank']= user['urank']
    # 微博会员等级
    item['mbrank']= user['mbrank']
    return item